package com.weixing.mall.provider.model.enums;

import com.weixing.mall.base.enums.IBaseEnum;
import lombok.NoArgsConstructor;

/**
 * @author jzy
 * @date 2020/8/15
 */
@NoArgsConstructor
public enum OrderLogTypeEnum implements IBaseEnum<Integer> {
    AUDIT_PASS(1, "客服审核通过"),
    CANCEL(2, "取消"),
    STOCK_OUT(3, "断货"),
    REFUND(4, "退货"),
    EXCHANGE(5, "换货"),
    DISPATCH_DEPT(6, "发货部发货"),
    STORE_DEPT(7, "仓库部发货"),
    ;

    private int value;
    private String desp;
    OrderLogTypeEnum(int value, String desp) {
        this.value = value;
        this.desp = desp;
    }
    @Override
    public Integer getValue() {
        return value;
    }

    @Override
    public String getDesp() {
        return desp;
    }
    public void setValue(int value) {
        this.value = value;
    }
    public void setDesp(String desp) {
        this.desp = desp;
    }
}
